<?php
declare(strict_types=1);

namespace App\Wxc\Request;

use Deepwell\Data\Attributes\Validation\Max;
use Deepwell\Data\Attributes\Validation\Min;
use Deepwell\Data\Data;
use Hyperf\Collection\Collection;

class WxcSharerLevelSortRequest extends Data
{
    /**
     * @var Collection<int,WxcSharerLevelSortItem>
     */
    public Collection $items;
}

class WxcSharerLevelSortItem extends Data
{

    /**
     * 等级ID
     */
    public int $level_id;

    /**
     * 等级排序
     */
    #[Min(1), Max(20)]
    public int $sort_id;
}